home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
pvm34b3.zip
/
pvm34b3
/
pvm3
/
libfpvm
/
pvmftrecv.m4
< prev
next >
Wrap
Text File
|
1997-07-22
|
393b
|
20 lines
/* $Id: pvmftrecv.m4,v 1.2 1996/10/04 15:27:44 pvmsrc Exp $ */
#include <sys/types.h>
#include <sys/time.h>
#include "pvm3.h"
#include "pvm_consts.h"
void
FUNCTION(pvmftrecv) ARGS(`tid, msgtag, sec, usec, info')
int *tid, *msgtag, *sec, *usec, *info;
{
struct timeval t;
t.tv_sec = *sec;
t.tv_usec = *usec;
*info = pvm_trecv(*tid, *msgtag, (*sec == -1 ? (struct timeval *)0 : &t));
}